Skip to content

Conversation

@gasby88
Copy link
Contributor

@gasby88 gasby88 commented Aug 3, 2017

Add gen block check time to reduce the time of trigger off change view.

Signed-off-by: wangbing wangbing@onchan.com

Add gen block check time to reduce the time of trigger off change view.

Signed-off-by: wangbing wangbing@onchan.com
@Arbio5zt
Copy link
Member

Arbio5zt commented Aug 3, 2017

approve

Copy link
Collaborator

@dreamfly281 dreamfly281 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks these is no essential change to reduce the change view time as the reschedule still based on 2^ViewNumber?

@gasby88
Copy link
Contributor Author

gasby88 commented Aug 9, 2017

Yes,the main change is reduce the time of backup nodes request change view when the net cannot make consensus. When the primary node dead or other circumstance, the backup nodes mast wait 2 gen block time to trigger off change view, but now only need to wait a gen block time and a gen block check time。

Honglei-Cong pushed a commit to Honglei-Cong/DNA that referenced this pull request Nov 27, 2019
Signed-off-by: laizy <laizhichao@onchain.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants